<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

	<h:panelGrid>
		<p:themeSwitcher value="#{headerBean.theme}" style="width:150px" effect="fade">
			<f:selectItem itemLabel="Choose Theme" itemValue="" />
			<f:selectItems value="#{headerBean.themes}" />
			<p:ajax listener="#{headerBean.saveTheme}" />
		</p:themeSwitcher>
	</h:panelGrid>
</ui:composition>
